package tdomhan.addict.parser;

import java.util.Comparator;

import com.ibm.icu.text.Collator;

public class StringCollatorComparator implements Comparator<String>{
	
	private Collator coll;
	
	public StringCollatorComparator(Collator coll) {
		this.coll = coll;
	}

	@Override
	public int compare(String o1, String o2) {
		return coll.compare(o1, o2);
	}
}
